package com.itbour.web.action.com;

import java.util.Map;

import com.itbour.common.base.BaseAction;
import com.itbour.dto.com.SystemDto;
import com.itbour.service.com.CommonService;

/**
 * copyright pirate alliance team 2014
 *
 * @author lunxing
 */

public class SystemInfoAction extends BaseAction {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private CommonService commonService;

	private SystemDto systemDto;

	
	private String app_name;

	public String getSystemInfo()
	{
		this.systemDto = this.commonService.getVersion(app_name);
		return SUCCESS;
	}

	/**
	 * @return the commonService
	 */
	public CommonService getCommonService() {
		return commonService;
	}

	/**
	 * @param commonService the commonService to set
	 */
	public void setCommonService(CommonService commonService) {
		this.commonService = commonService;
	}

	/**
	 * @return the systemDto
	 */
	public SystemDto getSystemDto() {
		return systemDto;
	}

	/**
	 * @param systemDto the systemDto to set
	 */
	public void setSystemDto(SystemDto systemDto) {
		this.systemDto = systemDto;
	}

	/**
	 * @return the app_name
	 */
	public String getApp_name() {
		return app_name;
	}

	/**
	 * @param app_name the app_name to set
	 */
	public void setApp_name(String app_name) {
		this.app_name = app_name;
	}
	
	
}
